﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="NoticeDetails.aspx.cs"
    Inherits="EDMS.NoticeDetails" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <asp:DataList ID="DataList1" runat="server" DataSourceID="SDSGg" Width="99%">
            <ItemTemplate>
                <table cellspacing="0" cellpadding="0" border="0" style="width: 98%">
                    <tr>
                        <td colspan="2">
                            公告标题：<%#Eval("ggbt") %>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            发布人：<%#Eval("fbr") %>
                        </td>
                        <td>
                            发布日期：<%#((DateTime)Eval("fbsj")).ToString("yyyy-mm-dd")%>
                        </td>
                    </tr>
                    <tr>
                        <td colspan="2">
                            内容：<%#Eval("nr") %>
                        </td>
                    </tr>
                </table>
            </ItemTemplate>
        </asp:DataList>
        <asp:SqlDataSource ID="SDSGg" runat="server" ConnectionString="<%$ ConnectionStrings:CMSConnectionString %>"
            SelectCommand="SELECT * FROM [Xjgg] WHERE ([ggbh] = @ggbh)">
            <SelectParameters>
                <asp:QueryStringParameter Name="ggbh" QueryStringField="bh" Type="Int32" />
            </SelectParameters>
        </asp:SqlDataSource>
    </div>
    </form>
</body>
</html>
